<template>
  <div id="app">
    <router-view></router-view>
    <!-- <toast :show.sync=toastMsg.show :time=toastMsg.time :type=toastMsg.type>{{toastMsg.content}}</toast> -->

</template>

<script>
  import store from './vuex/store';

  // import Toast from 'vux-components/toast';

  export default {
    store,
    data(){
      return {test:1}
    },
    components:{
      // 'toast':Toast,
    },
    created(){
      //url跳转
      const href = window.location.href;
      if(href.indexOf("code")>-1){
        // window.location.href = "http://www.baidu.com";
      }
    }
  }
</script>

<style lang='sass'>
@import '/assets/sass/common/reset.scss';
@import '/assets/sass/common/style.app.scss';
@import '/assets/sass/common/layout.scss';
@import "/assets/icon/iconfont/iconfont.scss";
@import '/assets/sass/global/themes.scss';
@import '/assets/sass/global/base.scss';
@import '/assets/sass/global/global.scss';


html,body,#app{
	height: 100%;
  /*-webkit-overflow-scrolling: touch;*/
  /*overflow-scrolling: touch;*/
  line-height: normal;
}
html,body,#app{
	/*display: flex;*/
  font-family:"Microsoft YaHei";
  position: relative;
  letter-spacing:.5px;
}
#app.input-upspring{bottom:260px}
#app.input-downspring{bottom:0px}
input,button{letter-spacing:.5px;font-family:"Microsoft YaHei";}
.fix-all{z-index: 50;}
/*retina:1px border-width: thin;*/
</style>
